<?php 
if (isset($_SESSION['user'])) {
	echo 'Word count: ' . $_SESSION['word_count'] . ' | Word review: ' . $_SESSION['word_review'] . ' | <a href="logout.php">Log out</a>';
}